package Com.amit.corejava;

public class Lab21 {
	
	int rollno;
	String name;
    static String collegename="BBDIT";
    
    
    
    Lab21(int i,String n)
    {
    	rollno=i;
    	name=n;
    }
    
    public static  void change()
    {
    	collegename="RITM";
    }
    
    public void display()
    {
    	System.out.println(rollno+" "+name+" "+collegename);
    }

	public static void main(String[] args) {
		
		Lab21.change();
		
		Lab21 l1=new Lab21(1,"amit");
		
		Lab21 l2=new Lab21(2,"anil");
		
		Lab21 l3=new Lab21(4,"raj");
		
		
		l1.display();
		l2.display();
		l3.display();
		
	
	}

}
